package net.easyjava.base.dao.mongodb;

import com.google.code.morphia.Datastore;
import net.easyjava.base.bean.mongodb.ArticleDataBean;
import net.easyjava.tools.BaseMongoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * Created by wenxiaoning on 15/12/20.
 */
@Component
public class ArticleDataDao extends BaseMongoDao<ArticleDataBean,String> {

    @Autowired
    public ArticleDataDao(@Qualifier("dataStore") Datastore ds) {
        super(ArticleDataBean.class, ds);
    }
}
